package com.bawei.module_goods.entity

data class DetailEntity(
    val brandCode: String?,
    val brandId: Int?,
    val brandName: String?,
    val categoryCode: String?,
    val code: String?,
    val detailUrl: List<String>?,
    val details: String?,
    val displacement: String?,
    val id: Int?,
    val licenseCode: String?,
    val licenseName: String?,
    val mainImgId: Int?,
    val mainImgUrl: String?,
    val marketPriceFee: Int?,
    val modelCode: String?,
    val modelName: String?,
    val params: String?,
    val post: Boolean?,
    val posterUll: List<String>?,
    val productType: String?,
    val purchasePrice: Int?,
    val skuList: List<Sku>?,
    val soldNum: Int?,
    val specAttrList: List<SpecAttr>?,
    val tagName: List<Any>?,
    val title: String?,
    val tlineCode: String?,
    val tlineName: String?,
    val videoImgUrl: String?,
    val videoUrl: List<String>?,
    val wagonNumberCode: String?,
    val wagonNumberName: String?
)

data class Sku(
    val attrs: String?,
    val createTime: String?,
    val deposit: Int?,
    val goodsDesc: String?,
    val goodsId: Int?,
    val id: Int?,
    val limitNumber: Int?,
    val limitNumberC: Int?,
    val marketPrice: Int?,
    val originName: String?,
    val purchasePrice: Int?,
    val referrals: Boolean?,
    val saleMessage: String?,
    val saleStatus: Boolean?,
    val skuCode: String?,
    val skuImgUrl: String?,
    val skuName: String?,
    val stocks: Int?,
    val updateTime: String?
)

data class SpecAttr(
    val attrKey: String?,
    val goodsAttrValues: List<GoodsAttrValue>?,
    val id: String?,
    val isShowPic: Boolean?
)

data class GoodsAttrValue(
    val attrKeyId: String?,
    val attrValue: String?,
    val fileUrl: String?,
    val id: String?
)